package com.wisdytech.linkdcs.pda.service;

import java.util.List;

import com.github.pagehelper.PageInfo;
import com.wisdytech.common.bean.Filter;
import com.wisdytech.linkdcs.equipLifeCycle.check.dto.CheckSearchDto;
import com.wisdytech.linkdcs.equipLifeCycle.check.model.CheckDetailRecord;
import com.wisdytech.linkdcs.equipLifeCycle.check.model.CheckModelItem;
import com.wisdytech.linkdcs.equipLifeCycle.check.vo.CheckVo;

public interface ICheckService {
	/**
	 * 分页查询设备点检列表
	 * @param filter
	 * @param dto
	 * @return
	 */
	public PageInfo<CheckVo> listEquipChecks(Filter filter, CheckSearchDto dto);
	
	
	/**
	 * 分页查询点检详细
	 * @param filter
	 * @param checkId
	 * @return
	 */
	public PageInfo<CheckModelItem> listCheckModelItems(Filter filter,String checkId);
	
	/**
	 * 保存点检记录
	 * @param records 点检记录明细
	 * @param equipCode 设备编码
	 * @return
	 */
	public boolean addCheckRecord(List<CheckDetailRecord> records,String equipCode,String checkTimeSpan,String createUser);
	
}
